package com.zero2oneit.mall.search.feign.goods;

import com.zero2oneit.mall.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
/**
 * Description:
 *
 * @author lf
 * @date 2020/7/15 21:32
 */
@FeignClient("business-service")
public interface BusinessFeign {

    @PostMapping("/admin/business/getByAll")
    R getByAll();

    @PostMapping("/admin/tcBusiness/businessTcCategoryAll")
    R businessTcCategoryAll(@RequestBody String id);

}
